package com.shenqi.parking.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车位出租对象 parking_spots
 *
 * @author shenqi
 * @date 2025-07-31
 */
public class ParkingSpots extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 车位标题 */
    @Excel(name = "车位标题")
    private String title;

    /** 车位描述 */
    @Excel(name = "车位描述")
    private String description;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** GPS纬度 */
    @Excel(name = "GPS纬度")
    private BigDecimal latitude;

    /** GPS经度 */
    @Excel(name = "GPS经度")
    private BigDecimal longitude;

    /** 所在建筑 */
    @Excel(name = "所在建筑")
    private String buildingName;

    /** 所在楼层 */
    @Excel(name = "所在楼层")
    private String floor;

    /** 车位编号 */
    @Excel(name = "车位编号")
    private String parkingNumber;

    /** 可充电 */
    @Excel(name = "可充电")
    private String isEvCharging;

    /** 月租价格 */
    @Excel(name = "月租价格")
    private BigDecimal pricePerMonth;

    /** 最短租期 */
    @Excel(name = "最短租期")
    private String minRentalPeriod;

    /** 价格可议 */
    @Excel(name = "价格可议")
    private String isNegotiable;

    /** 车位照片 */
    @Excel(name = "车位照片")
    private String photoUrls;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setLatitude(BigDecimal latitude)
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude()
    {
        return latitude;
    }
    public void setLongitude(BigDecimal longitude)
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude()
    {
        return longitude;
    }
    public void setBuildingName(String buildingName)
    {
        this.buildingName = buildingName;
    }

    public String getBuildingName()
    {
        return buildingName;
    }
    public void setFloor(String floor)
    {
        this.floor = floor;
    }

    public String getFloor()
    {
        return floor;
    }
    public void setParkingNumber(String parkingNumber)
    {
        this.parkingNumber = parkingNumber;
    }

    public String getParkingNumber()
    {
        return parkingNumber;
    }
    public void setIsEvCharging(String isEvCharging)
    {
        this.isEvCharging = isEvCharging;
    }

    public String getIsEvCharging()
    {
        return isEvCharging;
    }
    public void setPricePerMonth(BigDecimal pricePerMonth)
    {
        this.pricePerMonth = pricePerMonth;
    }

    public BigDecimal getPricePerMonth()
    {
        return pricePerMonth;
    }
    public void setMinRentalPeriod(String minRentalPeriod)
    {
        this.minRentalPeriod = minRentalPeriod;
    }

    public String getMinRentalPeriod()
    {
        return minRentalPeriod;
    }
    public void setIsNegotiable(String isNegotiable)
    {
        this.isNegotiable = isNegotiable;
    }

    public String getIsNegotiable()
    {
        return isNegotiable;
    }
    public void setPhotoUrls(String photoUrls)
    {
        this.photoUrls = photoUrls;
    }

    public String getPhotoUrls()
    {
        return photoUrls;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("title", getTitle())
                .append("description", getDescription())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("status", getStatus())
                .append("address", getAddress())
                .append("latitude", getLatitude())
                .append("longitude", getLongitude())
                .append("buildingName", getBuildingName())
                .append("floor", getFloor())
                .append("parkingNumber", getParkingNumber())
                .append("isEvCharging", getIsEvCharging())
                .append("pricePerMonth", getPricePerMonth())
                .append("minRentalPeriod", getMinRentalPeriod())
                .append("isNegotiable", getIsNegotiable())
                .append("photoUrls", getPhotoUrls())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .toString();
    }
}
